package com.zhou.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class QuestionsAnswers {
    // 主键id
//    @ExcelIgnore // 生成报表时忽略，不生成次字段
//    private Integer id;
    @ExcelProperty(value = "问题内容", index = 0) // 定义表头名称和位置,0代表第一列
    private String qu_content;
    @ExcelProperty(value = "创建时间", index = 1) // 定义表头名称和位置,0代表第一列
    @ApiModelProperty(value = "创建时间",example = "2021-05-05 9:00:00")
    @TableField(fill= FieldFill.INSERT)
    private Date create_time;

    @ExcelProperty(value = "创建人", index = 2)
    private String create_person;

    @ExcelProperty(value = "问题类型 1单选 2多选 3判断 4简答", index = 3)
    private Integer qu_type;
    @ExcelProperty(value = "题目难度 1简单 2中等 3困难", index = 4)
    private Integer level;
    @ExcelProperty(value = "图片", index = 5)
    private String image;
    @ExcelProperty(value = "所属题库id", index = 6)
    private String qu_bank_id;
    @ExcelProperty(value = "所属题库名称", index = 7)
    private String qu_bank_name;
    @ExcelProperty(value = "解析", index = 8)
    private String analysis;
    @ExcelProperty(value = "当前题目所有答案的信息", index = 9)
    private String all_option;
    @ExcelProperty(value = "答案的图片路径", index = 10)
    private String images;
    @ExcelProperty(value = "对应题目的id", index = 11)
    private Integer question_id;
    @ExcelProperty(value = "正确的选项对应的下标", index = 12)
    private String true_option;


}
